package com.bestsoft.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.bestsoft.system.mapper.FlowPiclistMapper;
import com.bestsoft.system.domain.FlowPiclist;
import com.bestsoft.system.service.IFlowPiclistService;

/**
 * 图片管理单Service业务层处理
 * 
 * @author wang
 * @date 2023-08-03
 */
@Service
public class FlowPiclistServiceImpl implements IFlowPiclistService 
{
    @Autowired
    private FlowPiclistMapper flowPiclistMapper;

    /**
     * 查询图片管理单
     * 
     * @param picClassName 图片管理单主键
     * @return 图片管理单
     */
    @Override
    public FlowPiclist selectFlowPiclistByPicClassName(String picClassName)
    {
        return flowPiclistMapper.selectFlowPiclistByPicClassName(picClassName);
    }

    /**
     * 查询图片管理单列表
     * 
     * @param flowPiclist 图片管理单
     * @return 图片管理单
     */
    @Override
    public List<FlowPiclist> selectFlowPiclistList(FlowPiclist flowPiclist)
    {
        return flowPiclistMapper.selectFlowPiclistList(flowPiclist);
    }

    /**
     * 新增图片管理单
     * 
     * @param flowPiclist 图片管理单
     * @return 结果
     */
    @Override
    public int insertFlowPiclist(FlowPiclist flowPiclist)
    {
        return flowPiclistMapper.insertFlowPiclist(flowPiclist);
    }

    /**
     * 修改图片管理单
     * 
     * @param flowPiclist 图片管理单
     * @return 结果
     */
    @Override
    public int updateFlowPiclist(FlowPiclist flowPiclist)
    {
        return flowPiclistMapper.updateFlowPiclist(flowPiclist);
    }

    /**
     * 批量删除图片管理单
     * 
     * @param picClassNames 需要删除的图片管理单主键
     * @return 结果
     */
    @Override
    public int deleteFlowPiclistByPicClassNames(String[] picClassNames)
    {
        return flowPiclistMapper.deleteFlowPiclistByPicClassNames(picClassNames);
    }

    /**
     * 删除图片管理单信息
     * 
     * @param picClassName 图片管理单主键
     * @return 结果
     */
    @Override
    public int deleteFlowPiclistByPicClassName(String picClassName)
    {
        return flowPiclistMapper.deleteFlowPiclistByPicClassName(picClassName);
    }
}
